## Controlling HeartBeat

The heartbeat Daemon can be controlled exactly like any other Linux daemon. Use the following syntax to control the Daemon from the command line:

    /etc/init.d/heartbeat [status|start|stop]

By default, HeartBeat logs to “/var/log/ha-log”. Use this log to check for errors. To simulate interchange between the two servers, stop the primary server that uses this command:

    /etc/init.d/heartbeat stop

The key point here is that since the IP address in the file must be the same as the far end of the link, this file cannot be the same on both ends. For example, Server A needs to have the IP address of Server B and vice-versa.

HeartBeat gives priority to the primary server and will activate it as soon as possible. Just restart heartbeat to revert to normal operation.

    /etc/init.d/heartbeat start

Important: To control the cluster, use only the HeartBeat controls described here. Do not manually start or stop the Avaya IP Telephone File Server Application and /or MV_WatchDog daemons.